package PageOR;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import org.openqa.selenium.support.PageFactory;

public class WelcomeMercuryTours 
{
	WebDriver driver;
	
	@FindBy(how = How.NAME, using = "userName")
	public WebElement txt_UserName;
	
	@FindBy(how = How.NAME, using = "password")
	public WebElement txt_Password;
	
	@FindBy(how = How.NAME, using = "login")
	public WebElement btn_SignIn;

	
	public boolean func_Login(String strUserName,String strPassword)
	{
		txt_UserName.sendKeys(strUserName);
		txt_Password.sendKeys(strPassword);
		btn_SignIn.click();
		return false;
		
	}
	
}
